package com.gcxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 圈舍管理
 * </p>
 *
 * @author author
 * @since 2024-12-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pen")
@ApiModel(value="Pen对象", description="圈舍管理")
public class Pen implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "圈舍编号")
    @TableId(value = "pen_id", type = IdType.AUTO)
    private Integer penId;

    @ApiModelProperty(value = "牧场编号")
    private Integer ranchId;

    @ApiModelProperty(value = "圈舍名称")
    private String penName;

    @ApiModelProperty(value = "圈舍状态;是否启用(1:启用，0:停用)")
    private Integer penStatus;

    @ApiModelProperty(value = "存栏量")
    private Integer amountLivestock;

    @ApiModelProperty(value = "创建人")
    private String creater;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新人")
    private String updater;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
